
@extends('admin::layouts.master')

@section('title')用户管理@endsection


@section('nav')
    <div class="row mb-2">
        <div class="col-sm-6">
            <h1 class="m-0">用户管理</h1>
        </div>
        <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
                <li class="breadcrumb-item"><a href="{{route('admin.user')}}">用户管理</a></li>
                <li class="breadcrumb-item active">编辑用户</li>
            </ol>
        </div>
    </div>

@endsection

@section('content')
    <div class="card">
        <div class="card-body">
            <form class="form-horizontal" action="{{route('admin.user.update',['id'=>$user->id])}}" method="POST">
                {{method_field('put')}}
                @include('admin::user.form',['user' => $user])
            </form>
        </div>
    </div>
@endsection